
package ch.hearc.coursJava.GUI.frame.compteurBis;

import javax.swing.JButton;
import javax.swing.JComponent;

public class JFrameBouton extends JFrameCommon
	{

	/*------------------------------------------------------------------*\
	|*							Constructeurs							*|
	\*------------------------------------------------------------------*/

	public JFrameBouton(int nbButton, LiaisonLabelButton[] tabLiaisonLabel)
		{
		super("Frame Bouton", nbButton, tabLiaisonLabel);
		setLocation(100,100);
		}

	@Override
	protected JComponent createComponent(int i, LiaisonLabelButton liaisonLabelButton)
		{
		JButton button = new JButton("B" + i);
		liaisonLabelButton.setButton(button);
		return button;
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	/*------------------------------*\
	|*				Get				*|
	\*------------------------------*/

	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/

	/*------------------------------------------------------------------*\
	|*							Attributs Private						*|
	\*------------------------------------------------------------------*/

	}
